package com.example.service;

import com.example.common.base.service.BaseService;
import com.example.common.utils.ApiResult;
import com.example.model.entity.TEquipment;
import com.example.model.entity.TPlan;
import com.example.model.query.TPlanQuery;
import com.example.model.query.TSourceQuery;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 告警预案表 Service接口
 *
 * @author zhangr
 * @Description Created on 2020-12-17
 */
@Service
public interface TPlanService extends BaseService<TPlan> {

    /**
     * 用户信息分页查询
     *
     * @param query
     * @return
     */
    ApiResult<TPlanQuery> pageUserVoByQuery(TPlanQuery query) throws Exception;
    ApiResult<List<TPlan>> getList(String id);
    ApiResult<List<TPlan>> getList();
    ApiResult<Boolean> saveObj(TPlan list);
}
